#ifndef NETWORKPLUGINTAB_H
#define NETWORKPLUGINTAB_H

#include <QWidget>
#include <QLineEdit>
#include <QLabel>
#include <QString>
#include <QPushButton>
#include "NetworkPlugin.h"


class NetworkPluginTab : public QWidget
{
    Q_OBJECT
    public:
        NetworkPluginTab(NetworkPlugin* _networkPlugin, QWidget *parent = 0);
        friend class SettingsWindow;

    public slots:
        void cancelFunction();
        void applyFunction();

    private:
        NetworkPlugin* networkPlugin;

        //GUI
        QLabel*     loginLabel;
        QLineEdit*  loginLineEdit;

        QLabel*     passLabel;
        QLineEdit*  passLineEdit;
        QPushButton* connectButton;

        //wazne skladniki
        QString     pluginName;
        QString     login;
        QString     password;


};

#endif // NETWORKPLUGINTAB_H
